package com.hl.wuyeguanliIDEA.service.impl;

import com.hl.wuyeguanliIDEA.mapper.ScheduleMapper;
import com.hl.wuyeguanliIDEA.pojo.Attendance;
import com.hl.wuyeguanliIDEA.pojo.Schedule;
import com.hl.wuyeguanliIDEA.pojo.Shift;
import com.hl.wuyeguanliIDEA.service.ScheduleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;
@Service
public class ScheduleServiceImpl implements ScheduleService {
    @Autowired
    private ScheduleMapper scheduleMapper;


    @Override
    public List<Schedule> selectList() {
        return scheduleMapper.selectLIst();
    }

    @Override
    public List<Schedule> attendancesList(Integer id) {
        return scheduleMapper.attendancesList(id);
    }


}
